home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0208.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  1.5 KB  |  34 lines

  1.  
  2. In our HTML files, I frequently want to refer the reader to man-pages
  3. or the GNU documentation. So, I wrote two small scripts to convert
  4. man-pages and GNU Info files to HTML and added a bit of code to
  5. the HTTPD daemon to call these filters if it found a .man or a .info
  6. file. With this, one can write f.e. 
  7.     "<A HREF=http://kaa.cs.few.eur.nl/info/gcc/gcc.info>GCC</A>"
  8. to refer to the (extensive) documentation for the GNU C compiler.
  9. So far, so good.
  10.  
  11. The Info files are the GNU equivalent of man pages and they
  12. are complete formatted documents that contain references. 
  13. The problem I've run into is that HTML does not offer a mode in 
  14. which all formatting is preserved *and* tags are recognised.
  15. The LISTING mode does preserve the formatting but does not see the 
  16. hypertext references; the NORMAL mode does recognise the references 
  17. but destroys the formatting (indentation, line breaks). 
  18. Switching from LISTING to NORMAL mode (and back) in the middle of 
  19. a paragraph is not feasible either because that will cause a blank line 
  20. to be inserted at that point.
  21.  
  22. It would be handy to have a mode that does preserve formatting and
  23. recognizes SGML tags since there are no doubt other hypertext formats
  24. that could be converted to HTML this way.
  25.  
  26. Thoughts anyone ?
  27.  
  28. Eelco van Asperen.           || Erasmus University Rotterdam
  29. internet: evas@cs.few.eur.nl || Department of Computer Science, room H4-32
  30. New, Improved, a disclaimer: || PObox 1738, 3000 DR Rotterdam, The Netherlands
  31. *** publishing private email is not allowed by the author of this message. ***
  32.  
  33.  
  34.